package com.easymin.weixin.mapper;

import com.easymin.weixin.entity.AllowAccessIp;
import com.easymin.weixin.entity.AllowAccessIpCriteria;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface AllowAccessIpMapper extends BaseMapper<AllowAccessIp, AllowAccessIpCriteria, Long> {
  Long countByExample(AllowAccessIpCriteria example);

  int deleteByExample(AllowAccessIpCriteria example);

  int deleteByPrimaryKey(Integer id);

  int insert(AllowAccessIp record);

  int insertSelective(AllowAccessIp record);

  List<AllowAccessIp> selectByExampleWithBlobsWithRowbounds(AllowAccessIpCriteria example,
      RowBounds rowBounds);

  List<AllowAccessIp> selectByExampleWithBlobs(AllowAccessIpCriteria example);

  List<AllowAccessIp> selectByExampleWithRowbounds(AllowAccessIpCriteria example,
      RowBounds rowBounds);

  List<AllowAccessIp> selectByExample(AllowAccessIpCriteria example);

  AllowAccessIp selectByPrimaryKey(Integer id);

  int updateByExampleSelective(@Param("record") AllowAccessIp record,
      @Param("example") AllowAccessIpCriteria example);

  int updateByExampleWithBlobs(@Param("record") AllowAccessIp record,
      @Param("example") AllowAccessIpCriteria example);

  int updateByExample(@Param("record") AllowAccessIp record,
      @Param("example") AllowAccessIpCriteria example);

  int updateByPrimaryKeySelective(AllowAccessIp record);

  int updateByPrimaryKeyWithBlobs(AllowAccessIp record);

  int updateByPrimaryKey(AllowAccessIp record);
}
